<template>
<div class="view-ExampleList">
	ExampleList1
	11
	<el-button>默认按钮</el-button>
	<Example01 :name='11'></Example01>
	<Example02></Example02>
</div>
</template>
<script>
import { get } from '@/common/service'
import Example01 from '@/test/Example01'
import Example02 from '@/test/Example02'

export default {
	name: 'ExampleList1',
	props: {
		msg: String
	},
	setup () {
		console.log('ExampleA:');
	},
	components: {
		Example01,
		Example02,
	},
	mounted () {
        this.searchList()
    },
	methods: {
		searchList () {
			get(this.$Api('queryExampleList'), {}).then((res) => {
                if(res.flag == '0000') {
                    console.log(res.data);
                }
            });
		},
	}
}
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
</style>